xen/arm: gic: Consolidate the IRQ affinity set in a single place
authorJulien Grall <julien.grall@arm.com>
Wed, 27 Jul 2016 13:58:22 +0000 (14:58 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 27 Jul 2016 19:22:58 +0000 (12:22 -0700)
commit0969e2e432d7ab7309a0a3ad4e39c480dc119d7d
treeb1211262818a9a36f1e59f24c9e99288406c1e81
parent7179cd39efdb22ac847ae465d1aa11cd6263f19b
xen/arm: gic: Consolidate the IRQ affinity set in a single place

The code to set the IRQ affinity is duplicated: once in
gicv{2,3}_set_properties and the other is gicv{2,3}_irq_set_affinity.

Remove the code from gicv{2,3}_set_properties and call directly the
affinity set helper from the common code.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/gic-v2.c
xen/arch/arm/gic-v3.c
xen/arch/arm/gic.c
xen/include/asm-arm/gic.h